package com.stylefeng.guns.modular.system.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.stylefeng.guns.modular.system.dao.MkdataMapper;
import com.stylefeng.guns.modular.system.model.Mkdata;
import com.stylefeng.guns.modular.system.service.IMkdataService;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author stylefeng123
 * @since 2018-06-05
 */
@Service
public class MkdataServiceImpl extends ServiceImpl<MkdataMapper, Mkdata> implements IMkdataService {

	@Resource
	private MkdataMapper mkdataMapper; 
	
	@Override
	public Mkdata selectByMkData(Mkdata mkdata) {
		return mkdataMapper.selectByMkData(mkdata);
	}

	@Override
	public List<Map<String, Object>> selectMapsByMkData(Page<Mkdata> page,
			String date, int type) {
		return mkdataMapper.selectMapsByMkData(page,date,type);
	}

}
